package nl.unimaas.group11.project1_3.Listener;


import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;

import javax.swing.JFrame;

import nl.unimaas.group11.project1_3.graphics.Render;
import nl.unimaas.group11.project1_3.graphics.TwoDimView;

public class Listener2dbutton implements ActionListener {

	@Override
	public void actionPerformed(ActionEvent e) {
		
		JFrame window = new JFrame("Solution 2D view");
		
		window.setBackground(Render.MEDIUM_GREY_COLOR);
		window.setSize(342, 470);
		window.setLocation(350, 100);

		TwoDimView view = new TwoDimView();
		window.add(view);
		window.setVisible(true);
			
	}

}
